package com.wang.nio;

import java.nio.charset.Charset;
import java.util.Map;

import org.junit.Test;

public class CharsetLearn {

	@Test
	public void test(){
		
		Map<String,Charset> map = Charset.availableCharsets();
		for(Map.Entry<String, Charset> entry : map.entrySet()){
			System.out.println(entry.getKey()+" :"+entry.getValue().name()+":"+entry.getValue().aliases());
		}
		
	}
}
